<template>
  <div>
      <mc-count-to style="color:#F6416C;font-size: 80px;" :autoplay="true" :startVal='12' :endVal='60000' :duration='3000'></mc-count-to>

       <el-button @click="print">打印</el-button>
       <el-button @click="change">改变</el-button>
  </div>
</template>

<script>
import McCountTo from "./components/countto/McCountTo";
export default {
    data(){
      return {
        href:"http://www.magicalcoder.com",
        input:""
      }
    },
    components:{
      McCountTo
    },
    methods:{
        print(){
            console.log(this.form)
        },
        change(){
            //this.form.userName = false;
            this.href = "http://www.baidu.com";
        }
    }
}
</script>

<style>

</style>
